package com.tourism.website.apis;

import com.tourismwebsite.comment.dto.CommentDTO;
import com.tourismwebsite.comment.query.CommentQuery;
import com.tourismwebsite.vo.JsonVO;

import java.util.List;

public interface CommentApis {
    /**
     *查询存在的评论
     */
JsonVO<List<CommentDTO>> queryNotDelComments(CommentQuery commentQuery);
   /**
     * 添加评论
     */
JsonVO<Boolean> saveComment(CommentQuery commentQuery);
    /**
     * 删除当前用户评论
     */
JsonVO<Boolean> deleteComment(CommentQuery commentQuery);
}
